package com.wosai.register.repository;

import java.util.List;

import com.wosai.register.model.BranchExpendSubject;

public interface BranchExpendSubjectRepository {
    BranchExpendSubject findById(String merchantId, String branchId, String terminalId, String id);
    List<BranchExpendSubject> findByTerminal(String merchantId, String branchId, String terminalId);

    List<String> insertBatch(List<BranchExpendSubject> subjects);
    List<String> updateBatch(List<BranchExpendSubject> subjects);
    
    void delete(String merchantId, String branchId, String terminalId, String id);
    void deleteByTerminal(String merchantId, String branchId, String terminalId);
}
